using Ant.Dto.PayDto;
using Ant.EntityFrameworkCore.Model;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Ant.DbServiceInterface
{
    public interface IPayDataService
    {
        bool CreateOrder(int storeID,int salesman,ICollection<CommodityOrder> createOrderDto);
        Task<ICollection<SalesOrder>> GetOrder(int storeID);
        Task<ICollection<Series>> GetStatisticalBy24(int storeID,DateTime start);
        Task<ICollection<Series>> GetStatisticalBy7D(int storeID, DateTime start);
        Task<ICollection<Series>> GetStatisticalBy1M(int storeID, DateTime start);
    }
}